﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RBOSS.Business.VendorModule;

namespace RBOSS.WebUI
{
    public partial class ShippmentView : System.Web.UI.Page
    {
        vendorShippingorders vord = new vendorShippingorders();
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!Page.IsPostBack)
            {
                
                List<vendorShippingorders> list = vord.getshippment((string)Session["email"]);
                GridView1.DataSource = list;
                GridView1.DataBind();
            }
        }

        protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            GridView1.PageIndex = e.NewPageIndex;
            GridView1.DataBind();

        }

    }
}